﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="bbs_new.aspx.cs" Inherits="bbs_bbs_new" %>
<%@ Register TagPrefix="uc2" TagName="RichEditor" Src="RichEditor.ascx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
        <table id="Table2" cellspacing="1" cellpadding="1" width="95%" align="center" border="0">
            <tr>
                <td>
                    <div id="addwindows" runat="server">
                        <table cellspacing="0" cellpadding="0" width="80%" border="0">
                            <tr>
                                <td align="center" width="95" colspan="4" height="23">
                                    <table id="Table4" style="width: 558px; height: 56px" cellspacing="1" cellpadding="1"
                                        width="558" border="0">
                                        <tr>
                                            <td>
                                                <asp:Label ID="Label2" runat="server">标题:</asp:Label><asp:TextBox ID="zhuti" TabIndex="1"
                                                    runat="server" Width="446px" MaxLength="80"></asp:TextBox><asp:RequiredFieldValidator
                                                        ID="testzhuti" TabIndex="-1" runat="server" Font-Size="X-Small" ControlToValidate="zhuti">*请填写标题</asp:RequiredFieldValidator></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td width="95%" colspan="4" height="250">
                                    <p align="center">
                                        <font color="#000000">
                                            <uc2:richeditor id="nr1" runat="server"></uc2:richeditor>
                                        </font>
                                    </p>
                                </td>
                            </tr>
                            <!--<div id="listupload1" runat="server"></div>-->
                            <tr>
                                <td width="10%" colspan="4">
                                    <font size="2">&nbsp; </font>
                                    <asp:Button ID="Button2" OnClick="add" TabIndex="3" runat="server" Width="48px" Text="发 表">
                                    </asp:Button>&nbsp;<font color="#000000">
                                        <asp:Button ID="Button5" OnClick="displayfj" TabIndex="4" runat="server" Width="72px"
                                            Text="上载图片"></asp:Button><font size="2">&nbsp;</font>
                                        <asp:Button ID="Button6" OnClick="displaydoc" TabIndex="4" runat="server" Width="72px"
                                            Text="上传附件" Visible="False"></asp:Button>&nbsp;
                                        <asp:Label ID="Label1" runat="server" Visible="False" Width="39px">重要性</asp:Label><asp:TextBox
                                            ID="TBimp" TabIndex="8" runat="server" Visible="False" Height="17px" Width="25px"></asp:TextBox><asp:CheckBox
                                                ID="isnews" TabIndex="6" runat="server" Font-Size="X-Small" Visible="False" Text="新闻快讯">
                                            </asp:CheckBox><asp:CheckBox ID="CBsoul" TabIndex="7" runat="server" Font-Size="X-Small"
                                                Visible="False" Text="精华"></asp:CheckBox><font size="2">&nbsp;</font>
                                        <asp:Label ID="lasubbs" runat="server" Font-Size="X-Small" Visible="False">分类:</asp:Label><asp:DropDownList
                                            ID="ddlsubbs" runat="server" Visible="False">
                                        </asp:DropDownList></font><!--<input type="reset" value="清除" name="Clear">--></td>
                            </tr>
                            <!--<div id="listupload2" runat="server"></div>-->
                            <tr>
                                <td width="420" colspan="4">
                                    <font size="2">
                                        <div id="displayfjlink" runat="server">
                                            &nbsp;
                                            <asp:TextBox ID="fj" runat="server" Visible="False" Width="191px" Enabled="False"></asp:TextBox></div>
                                    </font>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="fjwindows" runat="server">
                        <table height="175" cellspacing="2" width="700" border="0">
                            <tr>
                                <td height="2">
                                    <table border="0">
                                        <tr>
                                            <td width="779" colspan="2" height="13">
                                                <font color="#000000" size="2">1、点“<font color="#cc3366">Browser</font>”按钮，找到您所要粘贴的图片文件：</font>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2" height="25">
                                                <input id="upload_file" type="file" size="20" name="upload_file" runat="server"/><font
                                                    size="2">&nbsp; 说明：
                                                    <asp:TextBox ID="picRemark" runat="server"></asp:TextBox></font></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td width="16%">
                                    <table border="0">
                                        <tr>
                                            <td width="511">
                                                <font color="#000000" size="2">2、选定一个文件后，点“<font color="#cc3366">粘贴</font>”按钮，将该文件贴到文章后：</font>
                                            </td>
                                            <td width="264">
                                                <asp:Button ID="Button1" OnClick="upload" runat="server" Text="粘贴"></asp:Button></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td width="16%">
                                    <font color="#000000" size="2">3、如有多个图片文件要粘贴，重复1、2步骤；</font>
                                </td>
                            </tr>
                            <tr>
                                <td width="16%">
                                    <table border="0">
                                        <tr>
                                            <td width="511">
                                                <font color="#000000" size="2">4、所有的图片粘贴完毕后，点“<font color="#cc3366">完成</font>”按钮返回。</font>
                                            </td>
                                            <td width="265">
                                                <asp:Button ID="Button3" OnClick="displayadd" runat="server" Text="完成"></asp:Button></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                        <table height="27" cellspacing="2" width="700" border="0">
                            <tr>
                                <td width="451">
                                    <asp:DropDownList ID="removefile" runat="server" AutoPostBack="True" OnSelectedIndexChanged="selectpic">
                                        <asp:ListItem Value="nodelete">选择下面的附件:</asp:ListItem>
                                    </asp:DropDownList></td>
                                <td>
                                    <asp:Button ID="Button4" OnClick="remove" runat="server" Text="删除"></asp:Button></td>
                            </tr>
                        </table>
                        <table height="40" cellspacing="2" width="701" border="0">
                            <tr>
                                <td>
                                    <table width="640" border="0">
                                        <tr>
                                            <td width="200">
                                                <font color="#000000" size="2">现在附件文件总量为：</font>
                                            </td>
                                            <td width="430">
                                                <strong><font color="#804040">
                                                    <div id="photosize" runat="server">
                                                        0.0K
                                                    </div>
                                                </font></strong>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                        <div id="displayupload" runat="server">
                        </div>
                    </div>
                    <div id="wc" align="center" runat="server">
                    </div>
                    <input id="totlephotosize" type="hidden" value="0" name="totlephotosize" runat="server">
                    <div id="docwindows" runat="server">
                        <table id="Table1" cellspacing="2" cellpadding="2" width="700" border="0">
                            <tr>
                                <td valign="middle" align="middle" width="138" colspan="1" rowspan="1">
                                    <font size="2">上传附件：</font></td>
                                <td width="80%" colspan="1" rowspan="1">
                                    <input id="File1" type="file" size="20" name="upload_file" runat="server"></td>
                            </tr>
                            <tr>
                                <td valign="center" align="middle" width="138">
                                    <font size="2">文件说明：</font></td>
                                <td width="70%">
                                    <asp:TextBox ID="tbf1" runat="server"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td valign="center" align="middle" width="138">
                                    <font size="2"><font size="2">上传附件：</font></font></td>
                                <td width="70%">
                                    <input id="File2" type="file" size="20" name="upload_file" runat="server"></td>
                            </tr>
                            <tr>
                                <td valign="center" align="middle" width="138">
                                    <font size="2">文件说明：</font></td>
                                <td width="70%">
                                    <asp:TextBox ID="tbf2" runat="server"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td valign="center" align="middle" width="138">
                                    <font size="2">上传附件：</font></td>
                                <td width="70%">
                                    <input id="File3" type="file" size="20" name="upload_file" runat="server"></td>
                            </tr>
                            <tr>
                                <td valign="center" align="middle" width="138">
                                    <font size="2">文件说明：</font></td>
                                <td width="70%">
                                    <asp:TextBox ID="tbf3" runat="server"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td width="138">
                                </td>
                                <td valign="center" align="left" width="70%">
                                    <font size="2">
                                        <asp:Button ID="Button8" runat="server" Text="返回" OnClick="Button8_Click"></asp:Button>&nbsp;
                                        <asp:Button ID="Button7" OnClick="upload_doc" runat="server" Text="完成"></asp:Button>&nbsp;
                                        <asp:Label ID="me" runat="server" Font-Size="X-Small" ForeColor="Red"></asp:Label></font></td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    </td>
            </tr>
        </table>
    </form>
</body>
</html>
